package inherit;

public class Animal {
    protected String name="张三";

    public void func() {
        System.out.println(name);
    }
}
